import React, {useEffect} from 'react'
import {RouteComponentProps} from "react-router-dom";
import MyTabBar from "../../../components/TabBar/TabBar";
import MyNavBar from "../../../components/NavBar/NavBar";
const Mine = (props: RouteComponentProps) => {
    useEffect(() => {
        const uUid = sessionStorage.getItem('uUid')
        if(!uUid) props.history.push('/goIn')
    },[props])
    return (
        <div>
            <MyNavBar content='我的' />
            <MyTabBar />
        </div>
    )
}

export default Mine